package com.flex.dto;

import com.mybatisflex.annotation.ColumnMask;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.core.mask.Masks;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @description: 添加账户参数
 * @Author yl
 * @Date 2024/3/13 11:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccountDTO {

    private static final long serialVersionUID = 1L;

    @NotBlank
    private String userName;

    @NotNull
    private Integer age;

    private String birthday;

    private String password;

    private String phone;

    @Email
    private String email;

}
